// vue.config.js

module.exports = {
  pages: {
    index: {
      entry: "src/pages/index/index.js",
      template: "src/pages/index/index.html",
      filename: "index.html",
      chunks: ["chunk-vendors", "chunk-common", "index"], // 'chunk-vendors', 'chunk-common' 是公用资源文件
    },
    shop: {
      entry: "src/pages/shop/shop.js",
      template: "src/pages/shop/shop.html",
      filename: "shop.html",
      chunks: ["chunk-vendors", "chunk-common", "shop"],
    },
  },
};
